﻿<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
	<package name="cn.ffcs.businessrequest" extends="struts-default"  namespace="/bpm" >
		<action name="listBusinessRequest" class="businessRequestBean" method="findByPage">
			<result name="success">/business/businessrequest/listBusinessRequest.jsp</result>
		</action>
		<action name="editBusinessRequest" class="businessRequestBean" method="findById">
			<result name="success">/business/businessrequest/editBusinessRequest.jsp</result>
		</action>
		<action name="saveBusinessRequest" class="businessRequestBean" method="saveOrUpdate">
			<result name="success">/business/businessrequest/editBusinessRequest.jsp</result>
		</action>
		<action name="delBusinessRequest" class="businessRequestBean" method="remove">
			<result name="success" type="redirect">listBusinessRequest.action</result>
		</action>
		<action name="listNewprodReq" class="newprodReqBean" method="findByPage">
			<result name="success">/bpm/pocReq/listNewprodReq.jsp</result>
		</action>
		<action name="editNewprodReq" class="newprodReqBean" method="findById">
			<result name="success">/bpm/pocReq/editNewprodReq.jsp</result>
		</action>
		<action name="saveNewprodReq" class="newprodReqBean" method="saveOrUpdate">
			<result name="success">/bpm/pocReq/editNewprodReq.jsp</result>
		</action>
		<action name="delNewprodReq" class="newprodReqBean" method="remove">
			<result name="success" type="redirect">listNewprodReq.action</result>
		</action>
		
		<action name="listProdAdvReq" class="prodAdvReqBean" method="findByPage">
			<result name="success">/bpm/pocReq/listProdAdvReq.jsp</result>
			<result name="admin">/bpm/pocReq/listProdAdvReqByAdmin.jsp</result>
		</action>
		<action name="listProdAdvReqByAdmin" class="prodAdvReqBean" method="findByAdminPage">
			<result name="success">/bpm/pocReq/listProdAdvReqByAdmin.jsp</result>
		</action>
		<action name="editProdAdvReq" class="prodAdvReqBean" method="findById">
			<result name="success">/bpm/pocReq/editProdAdvReq.jsp</result>
			<result name="pending">/bpm/pocReq/verifyProdAdvReq.jsp</result>
		</action>
		<action name="lookProdAdvReq" class="prodAdvReqBean" method="lookProdAdvReq">
			<result name="success">/bpm/pocReq/lookProdAdvReq.jsp</result>
		</action>
		<action name="saveProdAdvReq" class="prodAdvReqBean" method="saveOrUpdate">
			<result name="success" type="redirect">listProdAdvReq.action</result>
			<result name="startup">/bpm/pocReq/verifyProdAdvReq_success.jsp</result>
			<result name="failure">/bpm/pocReq/message.jsp</result>
		</action>
		<action name="refuseProdAdvReq" class="prodAdvReqBean" method="refuse">
			<result name="success" type="redirect">listProdAdvReq.action</result>
			<result name="failure">/bpm/pocReq/message.jsp</result>
		</action>
		<action name="reclaimProdAdvReq" class="prodAdvReqBean" method="reclaimProdAdvReq">
			<result name="success">/bpm/pocReq/listProdAdvReq.jsp</result>
			<result name="failure">/bpm/pocReq/message.jsp</result>
		</action>
		
		<action name="listMergeDemand" class="prodAdvReqBean" method="listMergeDemand">
			<result name="success">/bpm/pocReq/listMergeDemand.jsp</result>
		</action>
		<action name="viewProdAdvReq" class="prodAdvReqBean" method="viewProdAdvReq">
			<result name="success">/bpm/pocReq/listMergeDemand.jsp</result>
		</action>
		<action name="toAuditProdAdvReq" class="prodAdvReqBean" method="toAuditProdAdvReq">
			<result name="success">/bpm/pocReq/auditProdAdvReq.jsp</result>
			<result name="failure">/bpm/pocReq/message.jsp</result>
		</action>
		<action name="auditProdAdvReq" class="prodAdvReqBean" method="auditProdAdvReq">
			<result name="success" type="redirect">listProdAdvReq.action</result>
		</action>
		
		
		<action name="toResolveDemand" class="prodAdvReqBean" method="toResolveDemand">
			<result name="failure">/bpm/pocReq/resolveDemand_success.jsp</result>
			<result name="success">/bpm/pocReq/toResolveDemand.jsp</result>
		</action>
		<action name="resolveDemand" class="prodAdvReqBean" method="resolveDemand">
			<result name="success">/bpm/pocReq/resolveDemand_success.jsp</result>
		</action>
		<action name="inputMessage" class="prodAdvReqBean" method="inputMessage">
			<result name="success">/bpm/pocReq/input_message.jsp</result>
		</action>
		
		<action name="listResolveDemand" class="prodAdvReqBean" method="listResolveDemand">
			<result name="success">/bpm/pocReq/listResolveDemand.jsp</result>
		</action>
		
		<action name="delProdAdvReq" class="prodAdvReqBean" method="remove">
			<result name="success" type="redirect">listProdAdvReq.action</result>
		</action>
		
		<action name="showDocu" class="reqDocuBean" method="showDocu">
			<result name="success">/common/showFile.jsp</result>
		</action>
		<action name="uploadDocument" class="reqDocuBean" method="uploadDocument">
			<result name="success">/bpm/pocReq/uploadDocument.jsp</result>
		</action>
		<action name="saveReqDocu" class="reqDocuBean" method="saveReqDocu">
			<result name="success">/bpm/pocReq/success.jsp</result>
		</action>

	</package>     
	
</struts>